package com.radiation.rms.mapper;

import com.radiation.rms.entity.Area;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.radiation.rms.vo.ConditionVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 地点表 Mapper 接口
 * </p>
 *
 * @author 1062
 * @since 2021-04-02
 */
public interface AreaMapper extends BaseMapper<Area> {

    String getPath(String areaId);

    List<String> getOneDepartment(String areaId);

    List<String> getTwoDepartment(String areaId);

    List<String> getThreeDepartment(String areaId);

    List<ConditionVo> getConditionStatus(String hospitalId);

    List<Area> getHospital(@Param("departments") List<String> departments);

    List<String> getHospitalId(@Param("departmentIds") List<String> departmentIds);
}
